package com.flame.workflow.ru.entity;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.flame.workflow.id.entity.WorkflowUser;

/**
 * flame_workflow_ru_task_comment 流程实例任务用户评论表
 *
 * @author 吴欣童
 * @since 2023-07-05 15:16:33
 */
public class TaskComment {

    /**
     * 评论ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long commentId;

    /**
     * 流程实例ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long instanceId;

    /**
     * 实例任务ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long taskId;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 评论
     */
    private String message;

    /**
     * 创建日期
     */
    private String createTime;

    private WorkflowUser userInfo;

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Long getInstanceId() {
        return instanceId;
    }

    public void setInstanceId(Long instanceId) {
        this.instanceId = instanceId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public WorkflowUser getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(WorkflowUser userInfo) {
        this.userInfo = userInfo;
    }
}
